<script setup lang="ts">

</script>

<template>
  <div class="timeline-main">
    <div class="left ">
      <div class="mb-5px">
        <slot name="title"> </slot>
      </div>
        <div class="dot"></div>
        <div class="shu"></div>
    </div>
    <div class="right-content rounded-md bg-#fff px-15px py-8px">
      <slot name="content"> </slot>
    </div>
  </div>
</template>

<style scoped lang="scss">
.mouth-data {
  padding-left: 60px;
}
.timeline-main {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  .left {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto auto 1fr;
    place-items: center;
    .dot {
      width: 8px;
      height: 8px;
      background: #7F0102;
      border-radius: 50%;
    }
    .shu {
      width: 1px;
      height: 100%;
      background: #CCCCCC;
    }
  }
}
</style>